package com.akk.module.avs.mapper.dao;

import com.akk.module.avs.entity.AvsPartner;
import com.akk.module.avs.entity.AvsPartnerExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsPartnerDao {
    int countByExample(AvsPartnerExample example);

    int deleteByExample(AvsPartnerExample example);

    int deleteByPrimaryKey(Long partnerId);

    int insert(AvsPartner record);

    int insertSelective(AvsPartner record);

    List<AvsPartner> selectByExample(AvsPartnerExample example);

    AvsPartner selectByPrimaryKey(Long partnerId);

    int updateByExampleSelective(@Param("record") AvsPartner record, @Param("example") AvsPartnerExample example);

    int updateByExample(@Param("record") AvsPartner record, @Param("example") AvsPartnerExample example);

    int updateByPrimaryKeySelective(AvsPartner record);

    int updateByPrimaryKey(AvsPartner record);
}